package io.renren.modules.sys.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.renren.common.validator.group.AddGroup;
import io.renren.common.validator.group.UpdateGroup;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.util.List;

@Data
public class UserVo {
  private Long userId;

  private String username;

  /**
   * 密码
   */
  private String password;

  /**
   * 盐
   */
  private String salt;

  /**
   * 邮箱
   */
  private String email;

  /**
   * 手机号
   */
  private String mobile;

  /**
   * 状态  0：禁用   1：正常
   */
  private Integer status;

  /**
   * 角色ID列表
   */
  private List<Long> roleIdList;

  /**
   * 创建者ID
   */
  private Long createUserId;

  /**
   * 创建时间
   */
  private Date createTime;

  private Long departId;
  private Long unitId;

  private String depName;
  private String unitName;
}
